#!/bin/bash
#
read -p "请输入系统名称：" system

#判断操作系统

system1=$(echo "$system" | tr '[:upper:]' '[:lower:]')

if [ "$system1" = "linux" ]; then
	echo "红帽"
elif [ "$system1" = "windows" ]; then
	echo "微软"
elif [ "$system1" = "macos" ]; then
	echo "苹果"
else
	echo "其他"
fi
